import { Redirect, Route, Switch } from "inula-router";
import OnePage from "@/page/one";
import TwoPage from "@/page/two";
import ThreePage from "@/page/three";
import AndroidPage from "@/page/android";
import AppPage from "@/page/app";

export default function Router() {
  return <Switch>
    <Route path="/app/one" component={OnePage}></Route>
    <Route path="/app/two" component={TwoPage}></Route>
    <Route path="/app/three" component={ThreePage}></Route>
    <Route path="/set/android" component={AndroidPage}></Route>
    <Route path="/set/app" component={AppPage}></Route>
    <Redirect path='*' to='/app/one' />
  </Switch>
}